package com.ruoyi.hbs.service.impl;

import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.hbs.mapper.MsfxTerminalSalesFirstOrderMapper;
import com.ruoyi.hbs.domain.MsfxTerminalSalesFirstOrder;
import com.ruoyi.hbs.service.MsfxTerminalSalesFirstOrderService;
@Service
public class MsfxTerminalSalesFirstOrderServiceImpl extends ServiceImpl<MsfxTerminalSalesFirstOrderMapper, MsfxTerminalSalesFirstOrder> implements MsfxTerminalSalesFirstOrderService{

   @Autowired
   private MsfxTerminalSalesFirstOrderMapper msfxTerminalSalesFirstOrderMapper;


    /**
     * 查询msfx—终端销售首单列表
     *
     * @param msfxTerminalSalesFirstOrder msfx—终端销售首单
     * @return msfx—终端销售首单
     */
    @Override
    public List<MsfxTerminalSalesFirstOrder> selectMsfxTerminalSalesFirstOrderList(MsfxTerminalSalesFirstOrder msfxTerminalSalesFirstOrder)
    {
        return msfxTerminalSalesFirstOrderMapper.selectMsfxTerminalSalesFirstOrderList(msfxTerminalSalesFirstOrder);
    }
    /**
     * 同步终端销售首单数据
     * @return
     */
    public List<MsfxTerminalSalesFirstOrder> syncTerminalSalesFirstOrderDataList(){
       return msfxTerminalSalesFirstOrderMapper.syncTerminalSalesFirstOrderDataList();
    }
}
